package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邮包图片对象 biz_parcel_pic
 * 
 * @author ruoyi
 * @date 2022-01-11
 */
public class BizParcelPic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 邮包图片ID */
    private Long id;

    /** 邮包ID */
    @Excel(name = "邮包ID")
    private Long parcelId;

    /** $column.columnComment */
    @Excel(name = "${comment}")
    private String ossKey;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String picUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParcelId(Long parcelId) 
    {
        this.parcelId = parcelId;
    }

    public Long getParcelId() 
    {
        return parcelId;
    }
    public void setOssKey(String ossKey) 
    {
        this.ossKey = ossKey;
    }

    public String getOssKey() 
    {
        return ossKey;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parcelId", getParcelId())
            .append("ossKey", getOssKey())
            .append("picUrl", getPicUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
